package com.firefly.sharding.jdbc.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

//@Data
@Getter
@Setter
@TableName("t_order")
public class Order {
    @TableId()
    private long orderId;
    private long userId;
    private BigDecimal totalPrice;
    private int state;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
